<template>
	<view>
		<mynavigationbar text="关于软件"/>
		<view class="bg">
			<image src="../../static/iconapp.png" mode=""></image>
		</view>
		<view class="items">
			<uni-link href="https://gitee.com/lablezyh/smart-farm" text="开源协议" showUnderLine="false" color="#333" fontSize="100rpx" ></uni-link>
			<view><text>开源协议</text><uni-icons type="right" size="22" color="#b9c1bb"></uni-icons></view>
			<view @click="godevelopers" ><text>开发成员</text><uni-icons type="right" size="22" color="#b9c1bb"></uni-icons></view>
			<view @click="showModal"><text>隐私政策</text><uni-icons type="right" size="22" color="#b9c1bb"></uni-icons></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {
			showModal() {
				uni.showModal({
					title: '隐私政策',
					content: '隐私政策',
					showCancel:false
				});
			},
			godevelopers(){
				uni.navigateTo({
					url:'/subpkg/developers/developers'
				})
			},
			loadfont() {
				uni.loadFontFace({
					family: 'ele',
					source: `url('/static/font/ele.TTF')`,
					success() {
			
					},
					fail(res) {
			
					}
				})
			}
		}
	}
</script>

<style lang="less">
	page {
		background-color: #f9f9f9;
	}

	.bg {
		width: 300rpx;
		height: 300rpx;
		margin: 200rpx auto 70rpx;
		image {
			width: 100%;
			height: 100%;
		}
	}
	.items {
		width: 90%;
		margin: 0 auto;
		border-bottom: 1px solid #ccc;
		border-top: 1px solid #ccc;
		view {
			display: flex;
			justify-content: space-between;
			width: 90%;
			height: 100rpx;
			margin: 0 auto;
			padding-right: 30rpx;
			line-height: 100rpx;
			color: #383838;
			border-bottom: 1px solid #ccc;
			&:last-child {
				border: 0;
			}
		}
		.uni-link {
			height: 100rpx;
			margin-top: 730rpx;
			margin-left: 70rpx;
		}
	}
</style>
